package com.xliang.spider.version03.quartz;

import com.xliang.spider.version03.quartz.base.AbstractJobService;
import com.xliang.spider.version03.service.SpiderScanCourseService;

import javax.annotation.Resource;

/**
 * ${DESCRIPTION}
 *
 * @author xiongl
 * @create 2016-06-13 16:27
 */
public class ScanCourseJob extends AbstractJobService
{
    @Resource
    private SpiderScanCourseService spiderScanCourseService;

    @Override
    public String getDescription()
    {
        return "定时任务：扫描极客学院系列课程";
    }
    
    @Override
    public void doExecute()
        throws Exception
    {
        spiderScanCourseService.scanCourse();
    }
}
